package com.hc.security.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author huangcheng
 * @since 2023-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("authority_role")
public class AuthorityRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色名称(必须以ROLE_起始命名)
     */
    @TableField("role_name")
    private String roleName;

    /**
     * 角色名称中文
     */
    @TableField("role_name_CN")
    private String roleNameCn;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private String updateTime;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;


}
